home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmSetWMProtocolHooks.z / XmSetWMProtocolHooks
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSeeeettttWWWWMMMMPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmSSSSeeeettttWWWWMMMMPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmSSSSeeeettttWWWWMMMMPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss - A VendorShell convenience interface
  10.           that allows preactions and postactions to be executed when a
  11.           protocol message is received from the window manager
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.           #include <Xm/Xm.h>
  15.           #include <Xm/Protocols.h>
  16.           vvvvooooiiiidddd XXXXmmmmSSSSeeeettttWWWWMMMMPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss(
  17.           WWWWiiiiddddggggeeeetttt sssshhhheeeellllllll,
  18.           AAAAttttoooommmm pppprrrroooottttooooccccoooollll,
  19.           XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc pppprrrreeeehhhhooooooookkkk,
  20.           XXXXttttPPPPooooiiiinnnntttteeeerrrr pppprrrreeee____cccclllloooossssuuuurrrreeee,
  21.           XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc ppppoooosssstttthhhhooooooookkkk,
  22.           XXXXttttPPPPooooiiiinnnntttteeeerrrr ppppoooosssstttt____cccclllloooossssuuuurrrreeee);
  23.  
  24.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  25.           This page documents Motif 2.1.
  26.  
  27.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  28.           XXXXmmmmSSSSeeeettttWWWWMMMMPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss is a convenience interface.  It calls
  29.           XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkksssswith the property value set to the atom
  30.           returned by interning WWWWMMMM____PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLLSSSS.
  31.  
  32.           _s_h_e_l_l     Specifies the widget with which the protocol
  33.                     property is associated
  34.  
  35.           _p_r_o_t_o_c_o_l  Specifies the protocol atom (or an _i_n_t cast to
  36.                     AAAAttttoooommmm)
  37.  
  38.           _p_r_e_h_o_o_k   Specifies the procedure to call before calling
  39.                     entries on the client callback list
  40.  
  41.           _p_r_e__c_l_o_s_u_r_e
  42.                     Specifies the client data to be passed to the
  43.                     prehook when it is invoked
  44.  
  45.           _p_o_s_t_h_o_o_k  Specifies the procedure to call after calling
  46.                     entries on the client callback list
  47.  
  48.           _p_o_s_t__c_l_o_s_u_r_e
  49.                     Specifies the client data to be passed to the
  50.                     posthook when it is invoked
  51.  
  52.           For a complete definition of VendorShell and its associated
  53.           resources, see VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll(3).
  54.  
  55.      RRRREEEELLLLAAAATTTTEEEEDDDD
  56.           VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll(3), XXXXmmmmIIIInnnntttteeeerrrrnnnnAAAAttttoooommmm(3), and XXXXmmmmSSSSeeeettttPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss(3).
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.